home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Games Collection 1
/
software vault.zip
/
software vault
/
CDR07
/
PLDIAG11.ZIP
/
PREPARE.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-09-07
|
2KB
|
62 lines
echo off
cls
echo:
echo:This program will unzip both the Diagnosis Demo package and VPIC,
echo:configuring the latter for use on your machine. Both will be placed in
echo:separate subdirectories on whatever drive you choose. A minimum of
echo:830K disk space will be required.
echo:
echo:NOTE: The program PKUNZIP must be in the current pathway.
echo:
ask "Enter the source drive (a,b,c,d,e): " abcde
if errorlevel = 65 set source=a:
if errorlevel = 66 set source=b:
if errorlevel = 67 set source=c:
if errorlevel = 68 set source=d:
if errorlevel = 69 set source=e:
ask "Enter the destination drive (a,b,c,d,e): " abcde
if errorlevel = 65 set dest=a:
if errorlevel = 66 set dest=b:
if errorlevel = 67 set dest=c:
if errorlevel = 68 set dest=d:
if errorlevel = 69 set dest=e:
echo:
echo:Is it OK to create the sub-directories %dest%\VPIC and %dest%\DIAG and copy
ask "unzipped files to them (y/n)?"
if errorlevel = 89 goto cont
goto end
:cont
md %dest%\vpic
md %dest%\diag
echo:Unzipping VPIC files.....
echo:
pkunzip vpic.zip %dest%\vpic
echo:
echo:Unzipping DIAGNOSIS files.....
echo:
pkunzip diagdm.zip %dest%\diag
echo:
echo:Now you must configure the graphic viewer VPIC for the hardware in use.
echo:To do this you must know what graphics card you machine has...If you
echo:have a VGA card and you are not sure what it is, exit the program by
echo:pressing Ctrl/Break and run the file "WHICHVGA.EXE" in the VPIC
echo:sub-directory on your program disk. Then simply run the VPIC
echo:file CONFIG.EXE and copy the modified VPIC.EXE to %dest%\DIAG.
echo:
echo:If you do know what your card is, select it from the following menu.
echo:
pause
%dest%
cd \
cd vpic
config.exe
echo:VPIC configured.
echo:
echo:Copying modified VPIC.EXE to %dest%\DIAG directory...
copy %dest%\vpic\vpic.exe %dest%\diag
echo:
cd \
cd diag
echo: Installation complete. Type "diag" to start....
echo:
:end